﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Project.DAO;
using Project.DTO;
using Project.IBIZ;
using Project.IDAO;

namespace Project.BIZ
{
    public class TransactionOrderProductBIZ:ITransactionOrderProductBIZ
    {
        /// <summary>
        /// Global instance of transactionOrderProdcuct
        /// </summary>
        readonly ITransactionOrderProdcuctDAO _transactionOrderProdcuct = new TransactionOrderProductDAO();

        /// <summary>
        /// 
        /// </summary>
        /// <param name="productOrder"></param>
        public void OrderProduct(ProductOrder productOrder)
        {

            _transactionOrderProdcuct.OrderProduct(productOrder);
            
        }
    }
}
